#include "swarmSocketClient.h"
#include <iostream>
#include <fcntl.h>
#include <cstring>
using namespace std;
swarmSocketClient::swarmSocketClient(const char* hst, int pt)
{

}
swarmSocketClient::swarmSocketClient(){};
int swarmSocketClient::initclient()
{
	return 0;	
}
int swarmSocketClient::initclient(const char* hst, int pt)
{
	return initclient();
}
int swarmSocketClient::writeMessage(const void* message,int size)
{
    char * msg = (char *) message;
    for (int i = 0; i<size; i++) {
        cout << msg[i];
    }
    cout << endl;
	return size;
}
bool swarmSocketClient::checkConnection()
{
		return true;
}
void swarmSocketClient::shut()
{
}
swarmSocketClient::~swarmSocketClient()
{
}
